(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/resources/Script/Game/MsgTips.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, 'e8800aqv1lG8Ymh3kjyL9XX', 'MsgTips', __filename);
// resources/Script/Game/MsgTips.js

"use strict";

cc.Class({
    extends: cc.Component,

    properties: {
        mTitle: { //标题
            default: null,
            type: cc.Label
        },

        mContent: { //内容
            default: null,
            type: cc.Label
        },

        mCloseBtnLabel: {
            default: null,
            type: cc.Label
        }
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    setMsgTipsLabel: function setMsgTipsLabel(content, title, coloseLabel) {
        this.mContent.string = content;
        if (title) {
            this.mTitle.string = title;
        }

        if (coloseLabel) {
            this.mCloseBtnLabel.string = coloseLabel;
        }
    },

    start: function start() {},


    btnCallBack: function btnCallBack() {
        this.node.destroy();
    }

    // update (dt) {},
});

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=MsgTips.js.map
        